API

Human resource APIs

GET human-resources/work-days

List of all workdays

HTTP method GET
URI https://api.rambase.net/human-resources/work-days
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 31
Successful HTTP status code 200
API resource identifier 3559, version 48

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

ApprovedDays() Named filter Approved work days
CurrentPeriods() Named filter Periods, adjustments and allowances which belong to past and today
DaysMissAbsAppr() Named filter Days pending absence approval from manager
DaysMissMgrAppr() Named filter Workdays pending manager approval
DaysMissMyAppr() Named filter Workdays pending my approval
DaysMissPayment() Named filter Workdays pending payment approval
DaysMissSalAppr() Named filter Days pending salary approval
DaysWithApprOvertime() Named filter Workdays with approved overtime
DaysWithError() Named filter Workdays which were makred as errored
DaysWithVacation() Named filter Workdays with vacation periods
Date Date Date of workday. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
EmployeeId Integer Employee identifier. Available macros: currentUser()
FlexHours Integer Change/difference in flextime account. Calculated by substracting ordinary work and paid- and unpaid absence from scheduled hours. Will only be set if status is 4 or more, and work arrangement allows flexitime. Will not be set if work hour log contains any periods with partial- or graded sick leave.
OvertimeHours Integer Total overtime, in hours, of all periods in this work hour log.
Status Integer Status of workday.
WorkdayId Integer Workday identifier.

Read more about filters and sorting on how to use sortable parameters

Date Date Date of workday
EmployeeId Integer Employee identifier
FlexHours Integer Change/difference in flextime account. Calculated by substracting ordinary work and paid- and unpaid absence from scheduled hours. Will only be set if status is 4 or more, and work arrangement allows flexitime. Will not be set if work hour log contains any periods with partial- or graded sick leave.
OvertimeHours Integer Total overtime, in hours, of all periods in this work hour log.
Status Integer Status of workday
WorkdayId Integer Workday identifier

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<Workdays>
2
     <Workday>
3
          <WorkdayId
WorkdayId

Workday identifier

>
{Integer}</WorkdayId>
4
          <Status
Status

Status of workday

Possible domain values can be found here

>
{Integer}</Status>
5
          <Date
Date

Date of workday

>
{Date}</Date>
6
          <Description
Description

Description for the workday according to the special time type descriptions

>
{String}</Description>
7
          <Totals
Totals

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
8
               <NumberOfAllowances
NumberOfAllowances

Total number of allowances in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Integer}</NumberOfAllowances>
9
               <NumberOfAdjustments
NumberOfAdjustments

Total number of adjustments in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Integer}</NumberOfAdjustments>
10
               <NumberOfPeriods
NumberOfPeriods

Total number of periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Integer}</NumberOfPeriods>
11
               <ScheduledWorkingHours
ScheduledWorkingHours

Total scheduled/expected hours for the employee at given date. These hours is extracted from the work arrangement.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Decimal}</ScheduledWorkingHours>
12
               <WorkHours
WorkHours

Total hours of actual work hours for the work hour log. Sum of ordinary work, overtime and paid leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Decimal}</WorkHours>
13
               <RegularHours
RegularHours

Total work time, in hours, for all periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Decimal}</RegularHours>
14
               <OvertimeHours
OvertimeHours

Total overtime, in hours, of all periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Decimal}</OvertimeHours>
15
               <UnpaidAbscenceHours
UnpaidAbscenceHours

Total unpaid leave/absence, in hours, for all periods in this work hour log. Ex. day off or unpaid short time leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Decimal}</UnpaidAbscenceHours>
16
               <PaidAbscenceHours
PaidAbscenceHours

Total paid leave/absence, in hours, for all periods in this work hour log. Ex. vacation, paid sick leave and/or parental leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Decimal}</PaidAbscenceHours>
17
               <LunchHours
LunchHours

Total unpaid lunch, in hours, for all periods in this work hour log. Note that unpaid lunch is only calculated if the sum of work time, overtime and paid leave exceeds 5.5 hours.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Decimal}</LunchHours>
18
               <FlexHours
FlexHours

Change/difference in flextime account. Calculated by substracting ordinary work and paid- and unpaid absence from scheduled hours. Will only be set if status is 4 or more, and work arrangement allows flexitime. Will not be set if work hour log contains any periods with partial- or graded sick leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

>
{Decimal}</FlexHours>
19
          </Totals>
20
          <TotalsIncludingUnapproved
TotalsIncludingUnapproved

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

>
21
               <WorkHours
WorkHours

Total hours of actual work hours for the work hour log. Sum of ordinary work, overtime and paid leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

>
{Decimal}</WorkHours>
22
               <RegularHours
RegularHours

Total work time, in hours, for all periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

>
{Decimal}</RegularHours>
23
               <OvertimeHours
OvertimeHours

Total overtime, in hours, of all periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

>
{Decimal}</OvertimeHours>
24
               <UnpaidAbscenceHours
UnpaidAbscenceHours

Total unpaid leave/absence, in hours, for all periods in this work hour log. Ex. day off or unpaid short time leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

>
{Decimal}</UnpaidAbscenceHours>
25
               <PaidAbscenceHours
PaidAbscenceHours

Total paid leave/absence, in hours, for all periods in this work hour log. Ex. vacation, paid sick leave and/or parental leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

>
{Decimal}</PaidAbscenceHours>
26
               <LunchHours
LunchHours

Total unpaid lunch, in hours, for all periods in this work hour log. Note that unpaid lunch is only calculated if the sum of work time, overtime and paid leave exceeds 5.5 hours.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

>
{Decimal}</LunchHours>
27
               <FlexHours
FlexHours

Change/difference in flextime account. Calculated by substracting ordinary work and paid- and unpaid absence from scheduled hours. Will only be set if status is 4 or more, and work arrangement allows flexitime. Will not be set if work hour log contains any periods with partial- or graded sick leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

>
{Decimal}</FlexHours>
28
          </TotalsIncludingUnapproved>
29
          <Employee>
30
               <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
31
               <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
32
          </Employee>
33
          <WorkSchedule
WorkSchedule

Work schedule used for calculating totals in this work hour log. Which work schedule to use is based on employee and date.

>
34
               <WorkScheduleId
WorkScheduleId

Work schedule identifier

>
{Integer}</WorkScheduleId>
35
               <WorkScheduleLink
WorkScheduleLink

Work schedule reference

>
{String}</WorkScheduleLink>
36
          </WorkSchedule>
37
          <SelfCertification>
38
               <SelfCertificationId
SelfCertificationId

Self certificate identifier

>
{Integer}</SelfCertificationId>
39
               <SelfCertificationLink
SelfCertificationLink

Self certificate reference

>
{String}</SelfCertificationLink>
40
          </SelfCertification>
41
          <WorkMonth
WorkMonth

This field is greyed out because it is an expandable field. You have to add $expand=Workday.WorkMonth in your request URI to get this field

>
42
               <WorkMonthId
WorkMonthId

Work month identifier

This field is greyed out because it is an expandable field. You have to add $expand=Workday.WorkMonth in your request URI to get this field

>
{Integer}</WorkMonthId>
43
               <WorkMonthLink
WorkMonthLink

Work month reference

This field is greyed out because it is an expandable field. You have to add $expand=Workday.WorkMonth in your request URI to get this field

>
{String}</WorkMonthLink>
44
          </WorkMonth>
45
          <LastTenWorkPeriods
LastTenWorkPeriods

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
46
               <WorkPeriod
WorkPeriod

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
47
                    <WorkPeriodId
WorkPeriodId

Work period, allowance or adjustment identifier

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Integer}</WorkPeriodId>
48
                    <CreatedAt
CreatedAt

Date and time of creation

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Datetime}</CreatedAt>
49
                    <Status
Status

Status of work period, allowance or adjustment

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</Status>
50
                    <IsIn
IsIn

Type of work period, allowance or adjustment.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Boolean}</IsIn>
51
                    <TimeType
TimeType

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
52
                         <TimeTypeId
TimeTypeId

Time type identifier

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Integer}</TimeTypeId>
53
                         <OvertimePercent
OvertimePercent

Overtime percentage

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Integer}</OvertimePercent>
54
                         <Category
Category

Category of the time type

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Integer}</Category>
55
                         <Description
Description

Description of the time type

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</Description>
56
                         <TimeTypeLink
TimeTypeLink

Reference to the time type

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</TimeTypeLink>
57
                    </TimeType>
58
                    <Source
Source

Source of the period data

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</Source>
59
                    <Note
Note

Note/comment of the work period, allowance or adjustment

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</Note>
60
                    <Date
Date

Date of the work period, allowance or adjustment . This date might differ from the date of the workday if the period is across midnight.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Date}</Date>
61
                    <Start
Start

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
62
                         <Time
Time

Start time of work period or allowance

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Time}</Time>
63
                         <Site
Site

Site at start time of work period

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</Site>
64
                    </Start>
65
                    <End
End

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
66
                         <Time
Time

End time of work period or allowance

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Time}</Time>
67
                         <Site
Site

Site at end time of work period

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</Site>
68
                    </End>
69
                    <Total
Total

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
70
                         <Hours
Hours

Total time, in hours, of the work period, allowance or adjustment. Calculated by subtracting the start time from the end time.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Decimal}</Hours>
71
                         <Time
Time

Total time, in hours and minutes, of the period. Calculated by subtracting the start time from the end time.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Time}</Time>
72
                    </Total>
73
                    <ShortTermAbsence
ShortTermAbsence

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
74
                         <ShortTermAbsenceId
ShortTermAbsenceId

Short-term absence identifier

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{Integer}</ShortTermAbsenceId>
75
                         <ShortTermAbsenceLink
ShortTermAbsenceLink

Short-term absence reference

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</ShortTermAbsenceLink>
76
                    </ShortTermAbsence>
77
                    <WorkPeriodLink
WorkPeriodLink

Work period, allowance or adjustment reference

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

>
{String}</WorkPeriodLink>
78
               </WorkPeriod>
79
          </LastTenWorkPeriods>
80
          <WorkdayLink
WorkdayLink

Work hour log reference

>
{String}</WorkdayLink>
81
     </Workday>
82
     <Paging
Paging

Detailed paging information for this list.

>
83
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
84
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
85
          <Page
Page

Page index

>
{Integer}</Page>
86
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</FirstPageKey>
87
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
88
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</PreviousPageKey>
89
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
90
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</NextPageKey>
91
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
92
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</LastPageKey>
93
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
94
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
95
     </Paging>
96
</Workdays>
1
{
2
     "workdays": [
3
          {
4
               "workdayId
WorkdayId

Workday identifier

":
"{Integer}",
5
               "status
Status

Status of workday

Possible domain values can be found here

":
"{Integer}",
6
               "date
Date

Date of workday

":
"{Date}",
7
               "description
Description

Description for the workday according to the special time type descriptions

":
"{String}",
8
               "totals
Totals

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
{
9
                    "numberOfAllowances
NumberOfAllowances

Total number of allowances in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Integer}",
10
                    "numberOfAdjustments
NumberOfAdjustments

Total number of adjustments in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Integer}",
11
                    "numberOfPeriods
NumberOfPeriods

Total number of periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Integer}",
12
                    "scheduledWorkingHours
ScheduledWorkingHours

Total scheduled/expected hours for the employee at given date. These hours is extracted from the work arrangement.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Decimal}",
13
                    "workHours
WorkHours

Total hours of actual work hours for the work hour log. Sum of ordinary work, overtime and paid leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Decimal}",
14
                    "regularHours
RegularHours

Total work time, in hours, for all periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Decimal}",
15
                    "overtimeHours
OvertimeHours

Total overtime, in hours, of all periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Decimal}",
16
                    "unpaidAbscenceHours
UnpaidAbscenceHours

Total unpaid leave/absence, in hours, for all periods in this work hour log. Ex. day off or unpaid short time leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Decimal}",
17
                    "paidAbscenceHours
PaidAbscenceHours

Total paid leave/absence, in hours, for all periods in this work hour log. Ex. vacation, paid sick leave and/or parental leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Decimal}",
18
                    "lunchHours
LunchHours

Total unpaid lunch, in hours, for all periods in this work hour log. Note that unpaid lunch is only calculated if the sum of work time, overtime and paid leave exceeds 5.5 hours.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Decimal}",
19
                    "flexHours
FlexHours

Change/difference in flextime account. Calculated by substracting ordinary work and paid- and unpaid absence from scheduled hours. Will only be set if status is 4 or more, and work arrangement allows flexitime. Will not be set if work hour log contains any periods with partial- or graded sick leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.Totals in your request URI to get this field

":
"{Decimal}"
20
               },
21
               "totalsIncludingUnapproved
TotalsIncludingUnapproved

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

":
{
22
                    "workHours
WorkHours

Total hours of actual work hours for the work hour log. Sum of ordinary work, overtime and paid leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

":
"{Decimal}",
23
                    "regularHours
RegularHours

Total work time, in hours, for all periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

":
"{Decimal}",
24
                    "overtimeHours
OvertimeHours

Total overtime, in hours, of all periods in this work hour log.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

":
"{Decimal}",
25
                    "unpaidAbscenceHours
UnpaidAbscenceHours

Total unpaid leave/absence, in hours, for all periods in this work hour log. Ex. day off or unpaid short time leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

":
"{Decimal}",
26
                    "paidAbscenceHours
PaidAbscenceHours

Total paid leave/absence, in hours, for all periods in this work hour log. Ex. vacation, paid sick leave and/or parental leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

":
"{Decimal}",
27
                    "lunchHours
LunchHours

Total unpaid lunch, in hours, for all periods in this work hour log. Note that unpaid lunch is only calculated if the sum of work time, overtime and paid leave exceeds 5.5 hours.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

":
"{Decimal}",
28
                    "flexHours
FlexHours

Change/difference in flextime account. Calculated by substracting ordinary work and paid- and unpaid absence from scheduled hours. Will only be set if status is 4 or more, and work arrangement allows flexitime. Will not be set if work hour log contains any periods with partial- or graded sick leave.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.TotalsIncludingUnapproved in your request URI to get this field

":
"{Decimal}"
29
               },
30
               "employee": {
31
                    "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
32
                    "employeeLink
EmployeeLink

Employee reference

":
"{String}"
33
               },
34
               "workSchedule
WorkSchedule

Work schedule used for calculating totals in this work hour log. Which work schedule to use is based on employee and date.

":
{
35
                    "workScheduleId
WorkScheduleId

Work schedule identifier

":
"{Integer}",
36
                    "workScheduleLink
WorkScheduleLink

Work schedule reference

":
"{String}"
37
               },
38
               "selfCertification": {
39
                    "selfCertificationId
SelfCertificationId

Self certificate identifier

":
"{Integer}",
40
                    "selfCertificationLink
SelfCertificationLink

Self certificate reference

":
"{String}"
41
               },
42
               "workMonth
WorkMonth

This field is greyed out because it is an expandable field. You have to add $expand=Workday.WorkMonth in your request URI to get this field

":
{
43
                    "workMonthId
WorkMonthId

Work month identifier

This field is greyed out because it is an expandable field. You have to add $expand=Workday.WorkMonth in your request URI to get this field

":
"{Integer}",
44
                    "workMonthLink
WorkMonthLink

Work month reference

This field is greyed out because it is an expandable field. You have to add $expand=Workday.WorkMonth in your request URI to get this field

":
"{String}"
45
               },
46
               "lastTenWorkPeriods
LastTenWorkPeriods

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
[
47
                    {
48
                         "workPeriodId
WorkPeriodId

Work period, allowance or adjustment identifier

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Integer}",
49
                         "createdAt
CreatedAt

Date and time of creation

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Datetime}",
50
                         "status
Status

Status of work period, allowance or adjustment

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}",
51
                         "isIn
IsIn

Type of work period, allowance or adjustment.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Boolean}",
52
                         "timeType
TimeType

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
{
53
                              "timeTypeId
TimeTypeId

Time type identifier

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Integer}",
54
                              "overtimePercent
OvertimePercent

Overtime percentage

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Integer}",
55
                              "category
Category

Category of the time type

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Integer}",
56
                              "description
Description

Description of the time type

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}",
57
                              "timeTypeLink
TimeTypeLink

Reference to the time type

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}"
58
                         },
59
                         "source
Source

Source of the period data

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}",
60
                         "note
Note

Note/comment of the work period, allowance or adjustment

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}",
61
                         "date
Date

Date of the work period, allowance or adjustment . This date might differ from the date of the workday if the period is across midnight.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Date}",
62
                         "start
Start

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
{
63
                              "time
Time

Start time of work period or allowance

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Time}",
64
                              "site
Site

Site at start time of work period

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}"
65
                         },
66
                         "end
End

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
{
67
                              "time
Time

End time of work period or allowance

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Time}",
68
                              "site
Site

Site at end time of work period

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}"
69
                         },
70
                         "total
Total

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
{
71
                              "hours
Hours

Total time, in hours, of the work period, allowance or adjustment. Calculated by subtracting the start time from the end time.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Decimal}",
72
                              "time
Time

Total time, in hours and minutes, of the period. Calculated by subtracting the start time from the end time.

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Time}"
73
                         },
74
                         "shortTermAbsence
ShortTermAbsence

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
{
75
                              "shortTermAbsenceId
ShortTermAbsenceId

Short-term absence identifier

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{Integer}",
76
                              "shortTermAbsenceLink
ShortTermAbsenceLink

Short-term absence reference

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}"
77
                         },
78
                         "workPeriodLink
WorkPeriodLink

Work period, allowance or adjustment reference

This field is greyed out because it is an expandable field. You have to add $expand=Workday.LastTenWorkPeriods in your request URI to get this field

":
"{String}"
79
                    }
80
               ],
81
               "workdayLink
WorkdayLink

Work hour log reference

":
"{String}"
82
          }
83
     ],
84
     "paging
Paging

Detailed paging information for this list.

":
{
85
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
86
          "position
Position

Position of the first element in the list

":
"{Integer}",
87
          "page
Page

Page index

":
"{Integer}",
88
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
89
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
90
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
91
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
92
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
93
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
94
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
95
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
96
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
97
     }
98
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 101015 HTTP 404 Permission not found
Error 101420 HTTP 404 Setting definition not found
Error 100511 HTTP 400 Invalid date
Error 100537 HTTP 400 Could not find work arrangements for employee {0} on date {1}